/* RichTextEditor.css */
.rich-text-editor {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .editor-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e4e8;
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .toolbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
  }
  
  .toolbar-btn:hover {
    background: #e9ecef;
    color: #333;
  }
  
  .toolbar-btn.active {
    background: #e0e0e0;
    color: #000;
    font-weight: bold;
  }
  
  .toolbar-btn svg {
    font-size: 16px;
  }
  
  .toolbar-divider {
    width: 1px;
    height: 24px;
    background: #ddd;
    margin: 0 4px;
  }
  
  .save-btn {
    width: auto;
    padding: 0 12px;
    background: #4CAF50;
    color: white !important;
    margin-left: auto;
  }
  
  .save-btn:hover {
    background: #3e8e41 !important;
  }
  
  .save-btn span {
    margin-left: 6px;
    font-size: 13px;
  }
  
  .editor-container {
    flex: 1;
    padding: 16px;
    background: white;
    overflow-y: auto;
    min-height: 200px;
  }
  
  .DraftEditor-root {
    min-height: 100%;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
  }
  
  .public-DraftEditor-content {
    min-height: 150px;
  }
  
  .public-DraftEditorPlaceholder-root {
    color: #999;
    position: absolute;
    pointer-events: none;
  }